﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Header.aspx.cs" Inherits="Golf.WebUI.AdminShow.Admin.Header" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>865171网站内容管理系统</title>
    <link href="../../Styles/Admin/css1.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
        /**********判断是否加载jquey***************/
        window.jQuery || document.write('<script src="../../Script/jquery/jquery-1.4.1-vsdoc.js" type="text/javascript"><\/script>');
    </script>

    <style type="text/css">
        .style1
        {
            width: 150px;
        }
        .subbg
        {
            margin-left: 0px;
        }
    </style>

    <script type="text/javascript">
        $(function() {
            setInterval("GetTime()", 1000);
        });
        function GetTime() {
            var mon, day, now, hour, min, ampm, time, str, tz, end, beg, sec;
            /* mon = new Array("Jan",
            "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"); */
            mon = new Array("一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月",
    "十二月");
            /* day = new Array("Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"); */
            day = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");
            now = new Date();
            hour = now.getHours();
            min = now.getMinutes();
            sec = now.getSeconds();
            if (hour < 10) {
                hour = "0" + hour;
            } if (min < 10) {
                min = "0" + min;
            } if (sec < 10) {
                sec = "0" + sec;
            }
            $("#labTime").html("<nobr>" + now.getFullYear() + "年" + mon[now.getMonth()] + now.getDate() + "日 " + day[now.getDay()] + "   " + hour
                        + ":" + min + ":" + sec + "</nobr>");
        } </script>

</head>
<body bgcolor="#03A8F6">
    <form id="form1" runat="server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td height="60" align="center" background="../../Images/Admin/top_logo.jpg" class="style1">
            </td>
            <td align="center" style="background: url(../../Images/Admin/top_bg.jpg) no-repeat">
                <table cellspacing="0" cellpadding="0" border="0" width="100%" height="33">
                    <tbody>
                        <tr>
                            <td width="30" align="left">
                                <img onclick="switchBar(this)" height="15" alt="关闭左边管理菜单" src="../../Images/Admin/on-of.gif"
                                    width="15" border="0" />
                            </td>
                            <td width="320" align="left">
                                系统时间 ：<asp:Label ID="labTime" runat="server" Text="Label"></asp:Label>
                            </td>
                            <td width="120" align="right" nowrap="nowrap" class="topbar">
                                最新公告公告：
                            </td>
                            <td class="topbar">
                                <div style="float: left;">
                                    <a href="Right.aspx" target="main">
                                        <img title="返回首页" height="23" src="../../Images/Admin/home.gif" width="33" border="0" /></a>
                                </div>
                                <div id="gonggao" style="height: 20px; line-height: 20px;">
                                    <ul>
                                        <li><a href="#">测试公告</a></li>
                                        <li><a href="#">测试公告</a></li>
                                        <li><a href="#">测试公告</a></li>
                                        <li><a href="#">测试公告</a></li>
                                        <li><a href="#">测试公告测试公告测试公告测试公告测试公告测试公请大家帮忙测试告</a></li>
                                    </ul>
                                </div>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <table height="26" border="0" align="left" cellpadding="0" cellspacing="0" class="subbg"
                    name="t1" style="text-align: left; display: none; float: left;">
                    <tbody>
                        <tr align="middle" style="display: noxne;">
                            <td align="center" class="topbar">
                                <span class="STYLE2"></span>
                            </td>
                            <td width="71" align="center" valign="middle" background="../../Images/Admin/top_tt_bg.gif">
                                <a href="../Admin_Servings/Comply_Manage.htm" target="main" class="STYLE2">客户管理</a>
                            </td>
                            <td align="center" class="topbar">
                                <span class="STYLE2"></span>
                            </td>
                            <td width="71" align="center" valign="middle" background="../../Images/Admin/top_tt_bg.gif">
                                <a href="../Admin_Sell/Admin_list.htm" target="main" class="STYLE2">订单管理</a>
                            </td>
                            <td align="center" class="topbar">
                                <span class="STYLE2"></span>
                            </td>
                            <td width="71" align="center" valign="middle" background="../../Images/Admin/top_tt_bg.gif">
                                <a href="../Admin_advertising/Advertise_AddAD_Manage.htm" target="main" class="STYLE2">
                                    商品管理</a>
                            </td>
                            <td align="center" class="topbar">
                                <span class="STYLE2"></span>
                            </td>
                            <td width="71" align="center" valign="middle" background="../../Images/Admin/top_tt_bg.gif">
                                <a href="../Admin_Popedom/Admin_Manage.htm" target="main" class="STYLE2">系统管理</a>
                            </td>
                        </tr>
                    </tbody>
                </table>
                <div style="float: right; width: 500px;">
                    <a href="../../Index.aspx" target="_blank">网站首页</a> 欢迎<asp:LinkButton ID="admin_name" runat="server"
                        ForeColor="Red" Font-Size="15">Admin</asp:LinkButton>登陆&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
                            href="Login.aspx?action=logout">登出</a></div>
            </td>
        </tr>
        <tr height="6">
            <td bgcolor="#1F3A65" background="../../Images/Admin/top_bg.jpg" class="style1">
            </td>
        </tr>
    </table>

    <script language="javascript">
        var displayBar = true;
        function switchBar(obj) {
            if (displayBar) {
                parent.frame.cols = "0,*";
                displayBar = false;
                obj.title = "打开左边管理菜单";
            }
            else {
                parent.frame.cols = "150,*";
                displayBar = true;
                obj.title = "关闭左边管理菜单";
            }
        }
    </script>

    </form>
</body>
</html>

<script src="../../Script/common/YLMarquee-1.1.js" type="text/javascript"></script>

<script type="text/javascript">

    $("#gonggao").YlMarquee({
        visible: 1,
        vertical: true,
        textMode: true,
        step: 1,
        width: 400
    });
</script>

